<?php

namespace App\Models\goods;

use App\Models\base\traits\ImgTrait;
use Illuminate\Database\Eloquent\Model;




/**
 * App\Models\goods\GoodsSpec
 *
 * @property int $id
 * @property int $goods_id 关联商品ID
 * @property string $name 规格名
 * @property float $price 价格
 * @property float $shop_price 小店用户价
 * @property float $business_price 企业用户价
 * @property float $pt_price 拼团价
 * @property float $xql_price 秒杀星期六价格
 * @property float $sr_price 生日大礼包价格
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec whereBusinessPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec wherePtPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec whereShopPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec whereSrPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec whereXqlPrice($value)
 * @mixin \Eloquent
 * @property string|null $alias 内部简称(用于打印小票)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\goods\GoodsSpec whereAlias($value)
 */
class GoodsSpec extends Model
{

    public $timestamps= false;


    protected $fillable = [
        'name',
        'price',
        'goods_id',
        'shop_price',
        'business_price',
        'pt_price',
        'xql_price',
        'sr_price',
        'alias'
    ];


}
